.game{
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.well{
  position: absolute;
  top: 5vh;
  left: calc(50% - 22.5vh);
  width: 45vh;
  height: 91vh;
}

.well{
  border: 5px solid darkslategray;
  border-top-width: 0;
  box-sizing: content-box;
  overflow-y: hidden;

}

.grid,.gameover{
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  top: -8vh;
  bottom: 0;
}

.dashboard{
  position: absolute;
  top: 6vh;
  left: calc(50% - 45vh);
  width:20vh;
}

.previewBar{
  position: absolute;
  top:6vh;
  left: calc(50% + 26vh);
  width:20vh;
}

@keyframes opaque{
  from{opacity: 0;}
  to{opacity: 0.8;}
}
.gameover{
  border-width: 0;
  box-sizing: border-box;
  background-color: black;
  opacity: 0;
  z-index: 3000;
}
.gameover.show{
  animation-name: opaque;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}
.gameover .pill{
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 40px;
  border-radius: 20px;
  margin-top: -20px;
  margin-left: -75px;
  background-color: darkolivegreen;
  text-align: center;
  line-height: 40px;
  color:white;
  
}



.scoreboard div{
  padding:5px;
  font-size: 12px;
  font-family: monospace;
}
button{
  display: block;
  margin: 10px 0;
  width: 100%;
  text-align: center;
}